This is simple demo training code for "MegaDepth: Learning Single-View Depth Prediction from Internet Photos, Z. Li and N. Snavely, CVPR 2018". Note that this code is not a working training code but should gives you some ideas about how to train the networks on our MegaDepth dataset. 
